<template>
	<view class="mainpadding beijingse">
		<view class="icon">
			<image src="../../static/image/system/tixianicon.png" mode=""></image>
		</view>
		<view class="margin_top2 titletext textcenter">支付成功</view>
		<view class="sishitext textcenter margin_top4" >{{price}}</view>
		<view class="huangbtn" @click="jumpage">返回首页</view>
		<view class="baibtn margin_top" @click="lookorder">查看订单</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				price:""
			}
		},
		onLoad(options) {
			this.price = options.price
		},
		methods: {
			jumpage(){
				uni.reLaunch({
					url:"/pages/homepage/homepage"
				})
			},
			lookorder(){
				uni.redirectTo({
					url:"/pages/mypage/wdycst"
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.baibtn{
		margin: 30rpx auto 0;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 461rpx;
		height: 82rpx;
		border-radius: 41rpx;
		background-color: #FFFFFF;
		font-size: 32rpx;
		font-family: PingFang SC-Medium, PingFang SC;
		font-weight: 500;
		color:#FAB536;
		border: 1rpx solid #FAB536;
	}
	.huangbtn{
		margin: 190rpx auto 0;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 461rpx;
		height: 82rpx;
		border-radius: 41rpx;
		background-color: #FFC059;
		font-size: 32rpx;
		font-family: PingFang SC-Medium, PingFang SC;
		font-weight: 500;
		color: #FFFFFF;
	}
	.sishitext{
		font-size: 71rpx;
		font-family: DIN-Bold, DIN;
		font-weight: bold;
		color: #000000;
	}
	.icon {
		width: 271rpx;
		height: 265rpx;
		margin: 30rpx auto 0;

		image {
			width: 100%;
			height: 100%;
			margin: 30rpx auto 0;
		}
	}
</style>
